﻿using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.Objects;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MedicalAdviser.DAL.AbstrationPatterns
{
    public interface IUnityOfWork
    {
        

        void MarkDirty(object entity) ;
        void MarkNew(object entity);
        void MarkDeleted(object entity);
        int Commit();
        void Rollback();
    }
}
